﻿using System;
using SqlSugar;

namespace Shop.Base.Entity.View
{
    [SugarTable("v_RoleFunction")]
  public  class UserRoleFunction
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        public Guid RoleId { get; set; }
        /// <summary>
        /// 是否为按钮
        /// </summary>
        public bool IsButton { get; set; } = false;
        /// <summary>
        /// 菜单Id
        /// </summary>
        public Guid MenuId { get; set; }
        /// <summary>
        /// 父级菜单Id
        /// </summary>
        public Guid? ParentId { get; set; }
        /// <summary>
        /// 菜单按钮Id
        /// </summary>
        public Guid? ButtonId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MemuName { get; set; }
        /// <summary>
        /// 菜单排序
        /// </summary>
        public int IndexNum { get; set; }
        /// <summary>
        /// 区域
        /// </summary>
        public string AreaStr { get; set; }
        /// <summary>
        /// 控制器名称
        /// </summary>
        public string ControllerStr { get; set; }
        /// <summary>
        /// Action名称
        /// </summary>
        public string ActionStr { get; set; }
        /// <summary>
        /// 菜单图标
        /// </summary>
        public string MenuIcons { get; set; }
        /// <summary>
        /// 按钮名称
        /// </summary>
        public string ButtonName { get; set; }
        /// <summary>
        /// 按钮图标
        /// </summary>
        public string ButtonIcons { get; set; }
        /// <summary>
        /// title 提示
        /// </summary>
        public string Titles { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public string ButtonTag { get; set; }
        /// <summary>
        /// 按钮序号
        /// </summary>
        public int ButtonNum { get; set; }
    }
}
